import React from 'react';
import router from './router/router'
import RouterView from './component/router/RouterView'
import {HashRouter as Router} from "react-router-dom";
import { Provider } from 'react-keep-alive';
function App() {
  return (
      <div className="App">
        <Router>
          <Provider>
            <RouterView routes={router} isRoot={true}/>
          </Provider>
        </Router>
      </div>
  );
}

export default App;
